<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

// 文章
Route::get('api/:version/article/:id', 'api/:version.Article/get');
Route::put('api/:version/article/update', 'api/:version.Article/update');
Route::post('api/:version/article/create', 'api/:version.Article/create');
Route::delete('api/:version/article/delete/:id', 'api/:version.Article/delete');

// 评论
